package com.zkthink.ceres.member.vo;

import cn.afterturn.easypoi.excel.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;
import org.hibernate.validator.constraints.Length;

import java.math.BigDecimal;

/**
 * @ClassName MemberMyRefferVO
 * @Description: MemberMyRefferVO
 * @Author ck
 * @Date 2021/12/27
 * @Version V1.0
 **/
@Data
@NoArgsConstructor
@ToString(callSuper = true)
@Accessors(chain = true)
@ApiModel(value = "我推荐的客户", description = "我推荐的客户")
@AllArgsConstructor
public class MemberMyRefferVO {
    /**
     * 会员昵称
     */
    @ApiModelProperty(value = "会员昵称")
    @Length(max = 20, message = "会员昵称长度不能超过20")
    @Excel(name = "会员昵称")
    private String nickname;

    /**
     * 会员头像
     */
    @ApiModelProperty(value = "会员头像")
    @Length(max = 500, message = "会员头像长度不能超过500")
    @Excel(name = "会员头像")
    private String headimg;


    @ApiModelProperty(value = "会员ID")
    private Integer userId;

    @ApiModelProperty(value = "获得的收益")
    private BigDecimal loveNum;

    @ApiModelProperty("剩余天数,小于0时,失效")
    private Integer restDay;

    @ApiModelProperty(value = "总收益")
    private BigDecimal totalNum;

    private int vipType;
}
